package com.dashboard.cloud.dubbo.provider.service;

import com.dashboard.cloud.common.dto.UserDTO;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: spring-cloud-dashboard
 * @Package: com.dashboard.cloud.dubbo.provider.service
 * @ClassName: UserService
 * @Description: []
 * <p> 模拟生产者Dubbo接口实现 </p>
 * @Author: [Lance Ting]
 * @Date: 2024/11/14 18:00
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Service
public class UserService {

    public List<UserDTO> findAll() {
        List<UserDTO> list = selectAll();
        return list;
    }

    private List<UserDTO> selectAll() {
        return new ArrayList<UserDTO>() {{

        }};
    }


}